Skip to content

Add project scaffold: Astro, TypeScript, CI pipeline - #1

Merged
blindtechmage merged 2 commits into
mainfrom
feature/project-scaffold
Aug 9, 2026
Merged

Add project scaffold: Astro, TypeScript, CI pipeline#1
blindtechmage merged 2 commits into
mainfrom
feature/project-scaffold

Conversation

@blindtechmage

Copy link
Copy Markdown
Owner

Summary

  • Astro (server output) with the Cloudflare Workers adapter (static assets), TypeScript throughout
  • ESLint, markdownlint, html-validate; Vitest for unit tests; Playwright + axe-core for WCAG 2.2 AA accessibility testing
  • GitHub Actions CI: lint, typecheck, unit tests, build, HTML lint, accessibility/e2e tests on every PR
  • Placeholder homepage and /api/health route to prove the pipeline end to end
  • Corrects earlier "Cloudflare Pages" references in PROJECT.md/docs to Cloudflare Workers with static assets, matching what the current Astro Cloudflare adapter actually targets (this was discovered while getting the build working locally — the adapter's own README describes itself as Workers-targeting, not Pages)

Test plan

  • npm run typecheck passes
  • npm run lint:js passes
  • npm run lint:md passes
  • npm run test:unit passes
  • npm run build succeeds
  • npm run lint:html passes against built output
  • npm run test:e2e passes (including axe-core WCAG 2.2 AA scan and skip-link keyboard test)
  • npm audit clean (0 vulnerabilities)

🤖 Generated with Claude Code

Astro (server output, Cloudflare Workers adapter with static assets),
TypeScript, ESLint/markdownlint/html-validate, Vitest, and Playwright +
axe-core for WCAG 2.2 AA accessibility testing. GitHub Actions runs
lint, typecheck, unit tests, build, HTML lint, and accessibility/e2e
tests on every pull request.

Corrects earlier "Cloudflare Pages" references in PROJECT.md and docs
to Cloudflare Workers with static assets, reflecting what the current
Astro Cloudflare adapter actually targets.
The workflow was pinned to Node 20, which is below Astro's minimum
supported version, causing the build job to fail in CI while passing
locally under a newer local Node install.
@blindtechmage
blindtechmage merged commit fef10fb into main Aug 9, 2026
4 checks passed
@blindtechmage
blindtechmage deleted the feature/project-scaffold branch August 9, 2026 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants